<%@ Page language="c#" Codebehind="WebForm1.aspx.cs" AutoEventWireup="false" Inherits="Cyber.WebForm1" EnableViewState="false" buffer="False" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML xmlns:DIMOK>
<HEAD>
<title>WebForm1</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio 7.0">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name=vs_defaultClientScript content="JavaScript">
<meta name=vs_targetSchema content="http://schemas.microsoft.com/intellisense/ie5">
<?IMPORT namespace="DIMOK" implementation="/include/HTC/ListBox_VL.htc" >
</HEAD>
  <body MS_POSITIONING="GridLayout" style="MARGIN: 0px" bgcolor="activeborder" onload="page_OnLoad()">
<HR>
<DIMOK:SELECT style="width:300" rows="14" size="" defaultValue="0" onupdate="window.status=this.value+':'+new Date()" onerror="this.Show(true)" class="selectex">
		<ASP:LITERAL ID="ltrList" Runat="server"></ASP:LITERAL>
</DIMOK:SELECT>
<form id="WebForm1" method="post" runat="server">
<INPUT runat="server" style="BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BORDER-BOTTOM-STYLE: none">
<PRE id="preTrace">
Dimok
DImon
Dimok
DImon
Dimok
DImon
Dimok
DImon
Dimok
DImon
Dimok
DImon
Dimok
DImon
Dimok
DImon
Dimok
DImon
</PRE>
<SELECT size="0" style="BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BORDER-BOTTOM-STYLE: none">
	<OPTION>AAAA</OPTION>
	<OPTION>AAAA</OPTION>
	<OPTION>AAAA</OPTION>
	<OPTION>AAAA</OPTION>
	<OPTION>AAAA</OPTION>
	<OPTION>AAAA</OPTION>
</SELECT>
<IFRAME id="frmMenu" scrolling="yes" style="	OVERFLOW-Y: auto;OVERFLOW-X: hidden" marginheight="0" marginwidth="0"></IFRAME>
<DIV style="WIDTH:100%" id="divFrame" style="border:1px solid">
<INPUT list="xmlList" id="txtSelect" OFFSET_Y="" class="" rows="5" size="29" defaultValue="0" onupdate="window.status=this.Value()+':'+new Date()" onerror="this.Show(true)" style="">
<DIV runat="server"
		 onclick1="parent.document.all.txtSelect.OnClick(event)"
		 onmouseover1="parent.document.all.txtSelect.ShowTitle(event)"
		 id="divSelect" style="overflow:hidden;display:none">
</DIV>
<DIV id="Div1" style="WIDTH:100;height:100px;	OVERFLOW-Y: auto;OVERFLOW-X: auto" onmousedown="//ComponentSnapShot()">
<PRE id="preTrace">
Dimok
DImon
Dimok
DImon
Dimok
DImon
Dimok
DImon
Dimok
DImon
Dimok
DImon
Dimok
DImon
Dimok
DImon
Dimok
DImon
</PRE>
</DIV>
	<INPUT style="width:25%">
</DIV>
     </form>
	<SPAN id="el"></SPAN>
<DIV id="preDiv">
<DIV>Dimok1</DIV>
<DIV>Dimok2</DIV>
<DIV>Dimok3</DIV>
<DIV>Dimok4</DIV>
<DIV>Dimok5</DIV>
<DIV>Dimok6</DIV>
<DIV>Dimok7</DIV>
<DIV>Dimok8</DIV>
<DIV>Dimok9</DIV>
<DIV>Dimok10</DIV>
<DIV>Dimok11</DIV>
<DIV>Dimok12</DIV>
<DIV>Dimok13</DIV>
</DIV>
<SCRIPT language="javascript" src="/include/common.js"></SCRIPT>
<SCRIPT language="javascript">
function trackElement(body){debugger
	var ev = body.document.parentWindow.event;
	if( ev.srcElement )trackElement.el = body;
   var bElem = frmMenu.document.elementFromPoint(10,10);

   window.status = //"X:" + ev.x + ",Y:"+ ev.y +",H:"+body.clientHeight+
		//",ObjS: " + (sElem||{}).innerHTML+
		",ObjB: " + (bElem||{}).innerHTML
   
}
function ComponentSnapShot(body){
	var ev = body.document.parentWindow.event;
   var sElem = "";
   sElem = body.componentFromPoint(
      ev.clientX,
      ev.clientY
   );

   ev.cancelBubble = true;
	 ev.returnValue = false;
   return false;
   if (sElem=="")
    alert("No component there!");
   else
    alert("Component: " + sElem);    
}
function alignScroll(el){
	var body = this.document.body;
  var bElem = body.document.elementFromPoint(10,10);
  if( bElem )setTimeout(function(){bElem.scrollIntoView()},1000);
}
function page_OnLoad(){
	var script = "<SCRIPT>\n"+trackElement+
	"\n\
	document.body.onmousemove = trackElement;\
	<"+"/SCRIPT>";
	frmMenu.document.body.innerHTML = preDiv.outerHTML;
//	frmMenu.document.body.onmousemove = function(){trackElement(this)};
//	frmMenu.document.body.onmouseup = function(){return trackElement(this)};
//	frmMenu.document.body.onscroll = function(){return trackElement(this)};
	frmMenu.document.body.style.cursor = "default";
//var link = oPopup.document.createElement("LINK");
//	link.href = "/include/HTC/CSS/ListBox.css";
//	alert(oPopup.document.body.parentElement.outerHTML);

}
</SCRIPT>
</body>
</HTML>
